use proc_macro::TokenStream;

mod encode;
mod utils;
mod decode;


#[proc_macro_derive(Encode)]
pub fn derive_encode(input: TokenStream) -> TokenStream {
    encode::build(input)
}

#[proc_macro_derive(Decode)]
pub fn derive_decode(input: TokenStream) -> TokenStream {
    decode::build(input)
}





